package com.ld.admin.model.system.dbtool;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * 建表工具-列字典(dbtool_cols)
 * 
 * @ClassName DbtoolColsModel
 * @author <a href="mailto:donggongai@126.com" target="_blank">吕凯</a>
 * @date 2019年01月23日 15:00:29
 *
 */
@Model(name = "列字典")
@ApiModel("列字典")
@TableName("dbtool_cols")
@Data
public class DbtoolColsModel implements Serializable {
    private static final long serialVersionUID = -1777270549390670004L;

    /*主键*/
    @JsonIgnore
    private Long id;
    /*中文名称*/
    @ApiModelProperty(value = "中文名称")
    private String showName;
    /*中文别名*/
    @ApiModelProperty(value = "中文别名")
    private String aliasName;
    /*列名*/
    @ApiModelProperty(value = "列名")
    private String columnName;
    /*列类型(不包含长度)*/
    @ApiModelProperty(value = "列类型(不包含长度) ")
    private String columnType;
    /*列长度*/
    @ApiModelProperty(value = "列长度")
    private String dataSize;
    /*默认值*/
    @ApiModelProperty(value = "默认值")
    private String defaultValue;
    /*列注释*/
    @ApiModelProperty(value = "列注释")
    private String remarks;
    /*创建人*/
    @JsonIgnore // 这样配置 在swagger 文档里会不显示
    private Long createBy;
    /*创建时间*/
    @JsonIgnore
    private Date createTime;
    /*修改人*/
    @JsonIgnore
    private Long updateBy;
    /*修改时间*/
    @JsonIgnore
    private Date updateTime;
    /*状态0正常-1删除*/
    @JsonIgnore
    private Integer state;
    /*创建人姓名*/
    @JsonIgnore
    private String createName;
    /*修改人姓名*/
    @JsonIgnore
    private String updateName;
}